input output tables fidn the rule